<template>
  <div class="block">
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="page"
      :page-sizes="[20,40,60,80]"
      :page-size="pageSize"
      layout="total, sizes, prev, pager, next, jumper"
      :total="title">
    </el-pagination>
  </div>
</template>

<script>
  export default {
    methods: {
      handleSizeChange(val) {
        this.$emit("SizeChangeTransfer",val)
        
      },
      handleCurrentChange(val) {
         this.$emit("CurrentChangeTransfer",val)
      }
    },
    props:["page","pageSize","title"],
    data() {
      return {
       
      };
    }
  }
</script>

<style>

</style>